
/*
You need to put some String pieces back together.*/
public class UnesteString {
	public static void main(String[] argv) {
		String s1 = "Hello" + ", " + "World";
		System.out.println(s1);
		// Build a StringBuffer, and append some things to it.
		StringBuffer sb2 = new StringBuffer();
		sb2.append("Hello");
		sb2.append(',');
		sb2.append(' ');
		sb2.append("World");

		// Get the StringBuffer's value as a String, and print it.
		String s2 = sb2.toString();
		System.out.println(s2);
	
		StringBuffer sb3 = new StringBuffer().append("Hello").append(',')
				.append(' ').append("World");
		System.out.println(sb3.toString());
	
	}
}
